package com.sys.db.manager;

import java.util.List;

import com.sys.pojo.DefJobType;

public interface DefJobTypeManager {
	
//	public boolean run(String date) throws Exception;
	
	public boolean save(DefJobType defJobType)throws Exception;

	public boolean update(DefJobType defJobType)throws Exception;

	public boolean delete(int id)throws Exception;

	public List<DefJobType> findAll()throws Exception;
	
	public List<DefJobType> findByPage(int start,int limit)throws Exception;

	public DefJobType findById(int id)throws Exception;
	
	public void saveOrUpdate(String jsonString) throws Exception;
	
	public void deleteByIds(String ids)throws Exception;
}
